package com.ecspace.knowledgegraphapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecspace.knowledgegraphapi.domain.dto.BusinessInfo;
import com.ecspace.knowledgegraphapi.domain.dto.NodeRelationDTO;
import com.ecspace.knowledgegraphapi.domain.entity.Relation;
import com.ecspace.knowledgegraphapi.domain.vo.RelationVO;

import java.util.List;

public interface IRelationService extends IService<Relation> {


    List<RelationVO> listAll();



    BusinessInfo saveNodeRelation(NodeRelationDTO relationDTO);

}
